package com.umgsai.thread.thread72;

public class Main {
	public static void main(String[] args) {
		MyThread myThread = new MyThread();
		MyThread.setDefaultUncaughtExceptionHandler(new StateUncaughtExceptionHandler());
		//myThread.setUncaughtExceptionHandler(new ObjectUncaughtExceptionHandler());
		myThread.start();
	}
}
